//
//  AIAddressModel.m
//  aixianfeng
//
//  Created by 李江波 on 2016/12/22.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

#import "AIAddressModel.h"

@implementation AIAddressModel

//-(instancetype)initWithCoder:(NSCoder *)aDecoder{
//
//    self = [super init];
//    if (self) {
//        
//        self.name = [aDecoder decodeObjectForKey:@"name"];
//        
//    }
//    return self;
//}
//
//-(void)encodeWithCoder:(NSCoder *)aCoder{
//
//    [aCoder encodeObject:self.name forKey:@"name"];
//}

//使用yymodle
-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super init];
    return [self yy_modelInitWithCoder:aDecoder];
}

-(void)encodeWithCoder:(NSCoder *)aCoder{

    [self yy_modelEncodeWithCoder:aCoder];
}

@end
